set more off

* Full Model in table 2, PTS data*
stcox     pol_repression repression polity gdpcappwt_ln pop_ln size leftist religious nationalist goalbreadth foreignpresence  , robust
set scheme s1mono

*Effect of Repression in Democracies*
stcurve, cumhaz at1(polity=10 repression=1.5 pol_repression=15) at2(polity=10 repression=4.5 pol_repression=45) ylab(,format(%09.1fc)) ytitle("Cumulative hazard") xtitle("Analysis time") legend(lab( 1 "Low" "repression") lab(2 "High" "repression")) lpattern("_" "l") lcolor(black gray) title("Democracies", size(medlarge)) name(repdem1)

*Effect of Repression in Authoritarian Regimes*
stcurve, cumhaz at1(polity=-3 repression=1.5 pol_repression=-4.5) at2(polity=-3 repression=4.5 pol_repression=-13.5) ylab(,format(%09.1fc)) ytitle("Cumulative hazard") xtitle("Analysis time") legend(lab( 1 "Low" "repression") lab(2 "High" "repression")) lpattern("_" "l") lcolor(black gray) title("Non-democracies", size(medlarge)) name(repaut1)
gr combine repdem1 repaut1
